set(DARKMAGIC_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/include)

find_package(Curses REQUIRED)

file(GLOB DARKMAGIC_SRC ${CMAKE_CURRENT_LIST_DIR}/src/*.cpp)
add_library(darkmagic STATIC ${DARKMAGIC_SRC})
target_include_directories(darkmagic PRIVATE ${DARKMAGIC_INCLUDE_DIR} ${LOGGER_INCLUDE_DIR} ${CURSES_INCLUDE_DIR})
target_link_libraries(darkmagic ${CURSES_LIBRARIES} mylog)
